<template>
  <div class="all">
    <div class="top">
      <van-icon name="arrow-left" @click="returnTap" />
      <span>群聊(3)</span>
      <van-icon name="ellipsis" @click="nextTap" />
    </div>
    <div class="msg">
      <span>上午9:50</span>
      <span>你将小李、小明加入了群聊</span>
    </div>
    <div class="button">
      <div class="icon1">
        <van-icon name="volume-o" />
      </div>
      <input type="text" class="button_input" />
      <div class="icon1">
        <van-icon name="smile-o" />
      </div>
      <div class="icon1">
        <van-icon name="add-o" />
      </div>
    </div>
  </div>
</template> 
<script>
//设置背景颜色

export default {
  data() {
    return {};
  },
  methods: {
    returnTap() {
      this.$router.go(-1);
    },
    nextTap(){
         this.$router.push("/qunall");
    }
  },
};
</script>
<style scoped>
.top {
  height: 60px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 60px;
  position: relative;
  background: #eeeeee;
}
.msg {
  text-align: center;
  font-size: 13px;
}
.msg span {
  display: block;
  margin-top: 5px;
  color: #b5b5b5;
}
.button{
    position:fixed;
    bottom: 0;
    left:0;
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    background: #E1E0E1;
    border-top: 1px solid #797979;
}
.icon1{
    width: 12%;
    text-align: center;
    font-size: 28px;
}
.button_input{
    width:64%;
    height: 40px;
    border: none;
    border-radius: 5px;
}
</style>